package org.simplextensions.examples.menu;

import org.simplextensions.ui.menu.ApplicationMenu;
import org.simplextensions.ui.menu.ApplicationWindowActionAdapter;
import org.simplextensions.ui.menu.IApplicationWindowAction;
import org.simplextensions.ui.menu.MenuExtensionMetadata;
import org.simplextensions.ui.menu.annotations.Action;

@Action(id = "action3", parent = ApplicationMenu.FileMenu)
public class SecondApplicationWindowAction extends ApplicationWindowActionAdapter implements IApplicationWindowAction {

	public boolean isEnabled(MenuExtensionMetadata arg0) {
		return true;
	}

	public void run(MenuExtensionMetadata arg0) {
		System.out.println("sranie w banie");
	}

}
